package com.esd.crm.service;

import java.util.List;
import java.util.Map;

import com.esd.crm.entity.Address;

public interface AddressService {

	public int deleteByPrimaryKey(Integer id);

	public int insert(Address record);

	public int insertSelective(Address record);

	public Address selectByPrimaryKey(Integer id);

	public int updateByPrimaryKeySelective(Address record);

	public int updateByPrimaryKey(Address record);

	public List<Address> selectByParam(Map<String, Object> param);

	public Integer selectByParamCount(Map<String, Object> param);

	public int updateFrequently(Address record);
	
	public Address getFrequentlyDef(Map<String, Object> param);
}
